/* Define to prevent recursive inclusion -------------------------------------*/
#ifndef __AERO_FSM_H
#define __AERO_FSM_H

#ifdef __cplusplus
 extern "C" {
#endif
                                              
/* Includes ------------------------------------------------------------------*/
#include "stm32f10x_conf.h"
#include "aero_conf.h"

typedef enum{
    EV_HAVEHIGH,
    EV_NEGEDGE,
    EV_ALLZERO,
}eventCode;

typedef enum{
    ST_IDLE,
    ST_WAITDATA,
    ST_HAVEDATA,
    ST_LATCHDATA,
}vtState;


void initHsState(void);
void aero_hsProcess(eventCode ec);
#ifdef __cplusplus
}
#endif

#endif 
